<template>
  <div>
    <!-- 

  名门望族 张琼宇  面包屑

    -->
    <el-breadcrumb separator="/">
      <el-breadcrumb-item @click.native="clear">首页</el-breadcrumb-item>
      <el-breadcrumb-item>{{info.onename}}</el-breadcrumb-item>
      <el-breadcrumb-item>{{info.towname}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
  data() {
    return {
      info: JSON.parse(sessionStorage.getItem('menu')) || {}
    }
  },
  methods: {
    clear() {
      this.$router.push('/')
    }
  },
}
</script>

<style>
</style>